home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 36 / PC Gamer IT CD 36 2-2.iso / SINDEMO / sindemo2.exe / data / base / pak0.pak / models / view_shotgun.def < prev    next >
Text File  |  1998-09-22  |  1KB  |  49 lines

  1. SDEF
  2. //
  3. // The file declaration section
  4. //
  5. path models/shotgun
  6. origin 20 -15 -55
  7. scale 0.5
  8. shotgun.sbm
  9. shotgun.tga
  10.  
  11. //
  12. // Declare the animation types and files
  13. //
  14. ready1    ready.sam
  15. fire1        fire3.sam
  16. idle1        idle1.sam
  17. idle2        idle2.sam
  18. putaway1    putaway.sam
  19. //
  20. // Define model group areas
  21. //
  22. id 30 group weapon bone barrel 0 180 90
  23. id 120 group weapon bone eject
  24.  
  25. //
  26. // The initialization section
  27. //
  28. !init:
  29. client aliasprefix Shotgun_
  30. client aliascache snd_fire1   "weapons/shotgun/s2.wav"
  31. client aliascache snd_reload1 "weapons/shotgun/shotload.wav"
  32.  
  33. //client aliascache snd_fire1    "weapons/magnum/fire3.wav"
  34. //client aliascache snd_silfire1 "weapons/magnum/silshot.wav"
  35.  
  36. //server aliascache snd_pickup "weapons/pkup/pkup3.wav"
  37. //
  38. // The main section
  39. //
  40. !main:
  41. server fire1 first weaponsound
  42. server fire1 first shoot
  43. client fire1 first randomsound snd_fire 1 1
  44. client fire1 first attach barrel sprites/gunblast.spr time 0.05 scale .45 origin 30 10 10
  45. client fire1 first shootbullets 10 375 375 375
  46. // dlight <red> <rand_red_amount> <green> <rand_green_amount> <blue> <rand_blue_amount> <radius> <rand_radius_amount> <life> <decay>
  47. client fire1 first dlight 1 0 0.2 0 0 0 360 0 0.6 0.7
  48. client fire1 3 randomsound snd_reload .6 7
  49. client fire1 4 bonespawn eject models/sgshell.def detail bounce vel 100 60 100 time 10 bouncesound impact_shotguncase